package com.aiwiown.face.domain.gesture;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * @ClassName : GestureHand
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-06-13 14:31
 */
public class GestureHand extends ApiObject {
    private static final long serialVersionUID = 3739197548069691607L;

    /**
     * 手部矩形框，坐标数字为整数，代表像素点坐标
     * top：左上角纵坐标
     * left：左上角横坐标
     * width：宽度
     * height：高度
     */
    @ApiField(value = "hand_rectangle")
    private GestureHandRectangle handRectangle;

    /**
     * 手势识别结果
     */
    @ApiField(value = "gesture")
    private GestureHandGesture gesture;

    public GestureHandRectangle getHandRectangle() {
        return handRectangle;
    }

    public void setHandRectangle(GestureHandRectangle handRectangle) {
        this.handRectangle = handRectangle;
    }

    public GestureHandGesture getGesture() {
        return gesture;
    }

    public void setGesture(GestureHandGesture gesture) {
        this.gesture = gesture;
    }
}
